package com.it.pojo;

import java.util.ArrayList;
import java.util.List;

public class ContainerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ContainerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andContainerIdIsNull() {
            addCriterion("container_id is null");
            return (Criteria) this;
        }

        public Criteria andContainerIdIsNotNull() {
            addCriterion("container_id is not null");
            return (Criteria) this;
        }

        public Criteria andContainerIdEqualTo(String value) {
            addCriterion("container_id =", value, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdNotEqualTo(String value) {
            addCriterion("container_id <>", value, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdGreaterThan(String value) {
            addCriterion("container_id >", value, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdGreaterThanOrEqualTo(String value) {
            addCriterion("container_id >=", value, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdLessThan(String value) {
            addCriterion("container_id <", value, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdLessThanOrEqualTo(String value) {
            addCriterion("container_id <=", value, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdLike(String value) {
            addCriterion("container_id like", value, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdNotLike(String value) {
            addCriterion("container_id not like", value, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdIn(List<String> values) {
            addCriterion("container_id in", values, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdNotIn(List<String> values) {
            addCriterion("container_id not in", values, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdBetween(String value1, String value2) {
            addCriterion("container_id between", value1, value2, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdNotBetween(String value1, String value2) {
            addCriterion("container_id not between", value1, value2, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerCodeIsNull() {
            addCriterion("container_code is null");
            return (Criteria) this;
        }

        public Criteria andContainerCodeIsNotNull() {
            addCriterion("container_code is not null");
            return (Criteria) this;
        }

        public Criteria andContainerCodeEqualTo(String value) {
            addCriterion("container_code =", value, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeNotEqualTo(String value) {
            addCriterion("container_code <>", value, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeGreaterThan(String value) {
            addCriterion("container_code >", value, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeGreaterThanOrEqualTo(String value) {
            addCriterion("container_code >=", value, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeLessThan(String value) {
            addCriterion("container_code <", value, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeLessThanOrEqualTo(String value) {
            addCriterion("container_code <=", value, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeLike(String value) {
            addCriterion("container_code like", value, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeNotLike(String value) {
            addCriterion("container_code not like", value, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeIn(List<String> values) {
            addCriterion("container_code in", values, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeNotIn(List<String> values) {
            addCriterion("container_code not in", values, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeBetween(String value1, String value2) {
            addCriterion("container_code between", value1, value2, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeNotBetween(String value1, String value2) {
            addCriterion("container_code not between", value1, value2, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerMaxvolumeIsNull() {
            addCriterion("container_maxVolume is null");
            return (Criteria) this;
        }

        public Criteria andContainerMaxvolumeIsNotNull() {
            addCriterion("container_maxVolume is not null");
            return (Criteria) this;
        }

        public Criteria andContainerMaxvolumeEqualTo(Integer value) {
            addCriterion("container_maxVolume =", value, "containerMaxvolume");
            return (Criteria) this;
        }

        public Criteria andContainerMaxvolumeNotEqualTo(Integer value) {
            addCriterion("container_maxVolume <>", value, "containerMaxvolume");
            return (Criteria) this;
        }

        public Criteria andContainerMaxvolumeGreaterThan(Integer value) {
            addCriterion("container_maxVolume >", value, "containerMaxvolume");
            return (Criteria) this;
        }

        public Criteria andContainerMaxvolumeGreaterThanOrEqualTo(Integer value) {
            addCriterion("container_maxVolume >=", value, "containerMaxvolume");
            return (Criteria) this;
        }

        public Criteria andContainerMaxvolumeLessThan(Integer value) {
            addCriterion("container_maxVolume <", value, "containerMaxvolume");
            return (Criteria) this;
        }

        public Criteria andContainerMaxvolumeLessThanOrEqualTo(Integer value) {
            addCriterion("container_maxVolume <=", value, "containerMaxvolume");
            return (Criteria) this;
        }

        public Criteria andContainerMaxvolumeIn(List<Integer> values) {
            addCriterion("container_maxVolume in", values, "containerMaxvolume");
            return (Criteria) this;
        }

        public Criteria andContainerMaxvolumeNotIn(List<Integer> values) {
            addCriterion("container_maxVolume not in", values, "containerMaxvolume");
            return (Criteria) this;
        }

        public Criteria andContainerMaxvolumeBetween(Integer value1, Integer value2) {
            addCriterion("container_maxVolume between", value1, value2, "containerMaxvolume");
            return (Criteria) this;
        }

        public Criteria andContainerMaxvolumeNotBetween(Integer value1, Integer value2) {
            addCriterion("container_maxVolume not between", value1, value2, "containerMaxvolume");
            return (Criteria) this;
        }

        public Criteria andContainerRealvolumeIsNull() {
            addCriterion("container_realVolume is null");
            return (Criteria) this;
        }

        public Criteria andContainerRealvolumeIsNotNull() {
            addCriterion("container_realVolume is not null");
            return (Criteria) this;
        }

        public Criteria andContainerRealvolumeEqualTo(Integer value) {
            addCriterion("container_realVolume =", value, "containerRealvolume");
            return (Criteria) this;
        }

        public Criteria andContainerRealvolumeNotEqualTo(Integer value) {
            addCriterion("container_realVolume <>", value, "containerRealvolume");
            return (Criteria) this;
        }

        public Criteria andContainerRealvolumeGreaterThan(Integer value) {
            addCriterion("container_realVolume >", value, "containerRealvolume");
            return (Criteria) this;
        }

        public Criteria andContainerRealvolumeGreaterThanOrEqualTo(Integer value) {
            addCriterion("container_realVolume >=", value, "containerRealvolume");
            return (Criteria) this;
        }

        public Criteria andContainerRealvolumeLessThan(Integer value) {
            addCriterion("container_realVolume <", value, "containerRealvolume");
            return (Criteria) this;
        }

        public Criteria andContainerRealvolumeLessThanOrEqualTo(Integer value) {
            addCriterion("container_realVolume <=", value, "containerRealvolume");
            return (Criteria) this;
        }

        public Criteria andContainerRealvolumeIn(List<Integer> values) {
            addCriterion("container_realVolume in", values, "containerRealvolume");
            return (Criteria) this;
        }

        public Criteria andContainerRealvolumeNotIn(List<Integer> values) {
            addCriterion("container_realVolume not in", values, "containerRealvolume");
            return (Criteria) this;
        }

        public Criteria andContainerRealvolumeBetween(Integer value1, Integer value2) {
            addCriterion("container_realVolume between", value1, value2, "containerRealvolume");
            return (Criteria) this;
        }

        public Criteria andContainerRealvolumeNotBetween(Integer value1, Integer value2) {
            addCriterion("container_realVolume not between", value1, value2, "containerRealvolume");
            return (Criteria) this;
        }

        public Criteria andContainerStatusIsNull() {
            addCriterion("container_status is null");
            return (Criteria) this;
        }

        public Criteria andContainerStatusIsNotNull() {
            addCriterion("container_status is not null");
            return (Criteria) this;
        }

        public Criteria andContainerStatusEqualTo(Integer value) {
            addCriterion("container_status =", value, "containerStatus");
            return (Criteria) this;
        }

        public Criteria andContainerStatusNotEqualTo(Integer value) {
            addCriterion("container_status <>", value, "containerStatus");
            return (Criteria) this;
        }

        public Criteria andContainerStatusGreaterThan(Integer value) {
            addCriterion("container_status >", value, "containerStatus");
            return (Criteria) this;
        }

        public Criteria andContainerStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("container_status >=", value, "containerStatus");
            return (Criteria) this;
        }

        public Criteria andContainerStatusLessThan(Integer value) {
            addCriterion("container_status <", value, "containerStatus");
            return (Criteria) this;
        }

        public Criteria andContainerStatusLessThanOrEqualTo(Integer value) {
            addCriterion("container_status <=", value, "containerStatus");
            return (Criteria) this;
        }

        public Criteria andContainerStatusIn(List<Integer> values) {
            addCriterion("container_status in", values, "containerStatus");
            return (Criteria) this;
        }

        public Criteria andContainerStatusNotIn(List<Integer> values) {
            addCriterion("container_status not in", values, "containerStatus");
            return (Criteria) this;
        }

        public Criteria andContainerStatusBetween(Integer value1, Integer value2) {
            addCriterion("container_status between", value1, value2, "containerStatus");
            return (Criteria) this;
        }

        public Criteria andContainerStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("container_status not between", value1, value2, "containerStatus");
            return (Criteria) this;
        }

        public Criteria andContainerDelIsNull() {
            addCriterion("container_del is null");
            return (Criteria) this;
        }

        public Criteria andContainerDelIsNotNull() {
            addCriterion("container_del is not null");
            return (Criteria) this;
        }

        public Criteria andContainerDelEqualTo(Integer value) {
            addCriterion("container_del =", value, "containerDel");
            return (Criteria) this;
        }

        public Criteria andContainerDelNotEqualTo(Integer value) {
            addCriterion("container_del <>", value, "containerDel");
            return (Criteria) this;
        }

        public Criteria andContainerDelGreaterThan(Integer value) {
            addCriterion("container_del >", value, "containerDel");
            return (Criteria) this;
        }

        public Criteria andContainerDelGreaterThanOrEqualTo(Integer value) {
            addCriterion("container_del >=", value, "containerDel");
            return (Criteria) this;
        }

        public Criteria andContainerDelLessThan(Integer value) {
            addCriterion("container_del <", value, "containerDel");
            return (Criteria) this;
        }

        public Criteria andContainerDelLessThanOrEqualTo(Integer value) {
            addCriterion("container_del <=", value, "containerDel");
            return (Criteria) this;
        }

        public Criteria andContainerDelIn(List<Integer> values) {
            addCriterion("container_del in", values, "containerDel");
            return (Criteria) this;
        }

        public Criteria andContainerDelNotIn(List<Integer> values) {
            addCriterion("container_del not in", values, "containerDel");
            return (Criteria) this;
        }

        public Criteria andContainerDelBetween(Integer value1, Integer value2) {
            addCriterion("container_del between", value1, value2, "containerDel");
            return (Criteria) this;
        }

        public Criteria andContainerDelNotBetween(Integer value1, Integer value2) {
            addCriterion("container_del not between", value1, value2, "containerDel");
            return (Criteria) this;
        }

        public Criteria andContainerTypeIsNull() {
            addCriterion("container_type is null");
            return (Criteria) this;
        }

        public Criteria andContainerTypeIsNotNull() {
            addCriterion("container_type is not null");
            return (Criteria) this;
        }

        public Criteria andContainerTypeEqualTo(Integer value) {
            addCriterion("container_type =", value, "containerType");
            return (Criteria) this;
        }

        public Criteria andContainerTypeNotEqualTo(Integer value) {
            addCriterion("container_type <>", value, "containerType");
            return (Criteria) this;
        }

        public Criteria andContainerTypeGreaterThan(Integer value) {
            addCriterion("container_type >", value, "containerType");
            return (Criteria) this;
        }

        public Criteria andContainerTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("container_type >=", value, "containerType");
            return (Criteria) this;
        }

        public Criteria andContainerTypeLessThan(Integer value) {
            addCriterion("container_type <", value, "containerType");
            return (Criteria) this;
        }

        public Criteria andContainerTypeLessThanOrEqualTo(Integer value) {
            addCriterion("container_type <=", value, "containerType");
            return (Criteria) this;
        }

        public Criteria andContainerTypeIn(List<Integer> values) {
            addCriterion("container_type in", values, "containerType");
            return (Criteria) this;
        }

        public Criteria andContainerTypeNotIn(List<Integer> values) {
            addCriterion("container_type not in", values, "containerType");
            return (Criteria) this;
        }

        public Criteria andContainerTypeBetween(Integer value1, Integer value2) {
            addCriterion("container_type between", value1, value2, "containerType");
            return (Criteria) this;
        }

        public Criteria andContainerTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("container_type not between", value1, value2, "containerType");
            return (Criteria) this;
        }

        public Criteria andContainerUnitIsNull() {
            addCriterion("container_unit is null");
            return (Criteria) this;
        }

        public Criteria andContainerUnitIsNotNull() {
            addCriterion("container_unit is not null");
            return (Criteria) this;
        }

        public Criteria andContainerUnitEqualTo(String value) {
            addCriterion("container_unit =", value, "containerUnit");
            return (Criteria) this;
        }

        public Criteria andContainerUnitNotEqualTo(String value) {
            addCriterion("container_unit <>", value, "containerUnit");
            return (Criteria) this;
        }

        public Criteria andContainerUnitGreaterThan(String value) {
            addCriterion("container_unit >", value, "containerUnit");
            return (Criteria) this;
        }

        public Criteria andContainerUnitGreaterThanOrEqualTo(String value) {
            addCriterion("container_unit >=", value, "containerUnit");
            return (Criteria) this;
        }

        public Criteria andContainerUnitLessThan(String value) {
            addCriterion("container_unit <", value, "containerUnit");
            return (Criteria) this;
        }

        public Criteria andContainerUnitLessThanOrEqualTo(String value) {
            addCriterion("container_unit <=", value, "containerUnit");
            return (Criteria) this;
        }

        public Criteria andContainerUnitLike(String value) {
            addCriterion("container_unit like", value, "containerUnit");
            return (Criteria) this;
        }

        public Criteria andContainerUnitNotLike(String value) {
            addCriterion("container_unit not like", value, "containerUnit");
            return (Criteria) this;
        }

        public Criteria andContainerUnitIn(List<String> values) {
            addCriterion("container_unit in", values, "containerUnit");
            return (Criteria) this;
        }

        public Criteria andContainerUnitNotIn(List<String> values) {
            addCriterion("container_unit not in", values, "containerUnit");
            return (Criteria) this;
        }

        public Criteria andContainerUnitBetween(String value1, String value2) {
            addCriterion("container_unit between", value1, value2, "containerUnit");
            return (Criteria) this;
        }

        public Criteria andContainerUnitNotBetween(String value1, String value2) {
            addCriterion("container_unit not between", value1, value2, "containerUnit");
            return (Criteria) this;
        }

        public Criteria andWasteIdIsNull() {
            addCriterion("waste_id is null");
            return (Criteria) this;
        }

        public Criteria andWasteIdIsNotNull() {
            addCriterion("waste_id is not null");
            return (Criteria) this;
        }

        public Criteria andWasteIdEqualTo(String value) {
            addCriterion("waste_id =", value, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdNotEqualTo(String value) {
            addCriterion("waste_id <>", value, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdGreaterThan(String value) {
            addCriterion("waste_id >", value, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdGreaterThanOrEqualTo(String value) {
            addCriterion("waste_id >=", value, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdLessThan(String value) {
            addCriterion("waste_id <", value, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdLessThanOrEqualTo(String value) {
            addCriterion("waste_id <=", value, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdLike(String value) {
            addCriterion("waste_id like", value, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdNotLike(String value) {
            addCriterion("waste_id not like", value, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdIn(List<String> values) {
            addCriterion("waste_id in", values, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdNotIn(List<String> values) {
            addCriterion("waste_id not in", values, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdBetween(String value1, String value2) {
            addCriterion("waste_id between", value1, value2, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdNotBetween(String value1, String value2) {
            addCriterion("waste_id not between", value1, value2, "wasteId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("company_id is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("company_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(String value) {
            addCriterion("company_id =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(String value) {
            addCriterion("company_id <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(String value) {
            addCriterion("company_id >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(String value) {
            addCriterion("company_id >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(String value) {
            addCriterion("company_id <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(String value) {
            addCriterion("company_id <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLike(String value) {
            addCriterion("company_id like", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotLike(String value) {
            addCriterion("company_id not like", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<String> values) {
            addCriterion("company_id in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<String> values) {
            addCriterion("company_id not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(String value1, String value2) {
            addCriterion("company_id between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(String value1, String value2) {
            addCriterion("company_id not between", value1, value2, "companyId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}